home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / DCLAP 6d / dclap6d / vibrant / viewerP.h < prev   
Encoding:
C/C++ Source or Header  |  1996-07-05  |  2.5 KB  |  94 lines  |  [TEXT/R*ch]

  1. /*   viewerP.h
  2. * ===========================================================================
  3. *
  4. *                            PUBLIC DOMAIN NOTICE
  5. *            National Center for Biotechnology Information (NCBI)
  6. *
  7. *  This software/database is a "United States Government Work" under the
  8. *  terms of the United States Copyright Act.  It was written as part of
  9. *  the author's official duties as a United States Government employee and
  10. *  thus cannot be copyrighted.  This software/database is freely available
  11. *  to the public for use. The National Library of Medicine and the U.S.
  12. *  Government do not place any restriction on its use or reproduction.
  13. *  We would, however, appreciate having the NCBI and the author cited in
  14. *  any work or product based on this material
  15. *
  16. *  Although all reasonable efforts have been taken to ensure the accuracy
  17. *  and reliability of the software and data, the NLM and the U.S.
  18. *  Government do not and cannot warrant the performance or results that
  19. *  may be obtained by using this software or data. The NLM and the U.S.
  20. *  Government disclaim all warranties, express or implied, including
  21. *  warranties of performance, merchantability or fitness for any particular
  22. *  purpose.
  23. *
  24. * ===========================================================================
  25. *
  26. * File Name:  viewerP.h
  27. *
  28. * Author:  Jonathan Kans, Jill Shermer
  29. *
  30. * Version Creation Date:   10/25/92
  31. *
  32. * $Revision: 1.12 $
  33. *
  34. * File Description: 
  35. *
  36. * Modifications:  
  37. * --------------------------------------------------------------------------
  38. * Date     Name        Description of modification
  39. * -------  ----------  -----------------------------------------------------
  40. *
  41. *
  42. * ==========================================================================
  43. */
  44.  
  45. #ifndef _VIEWERP_
  46. #define _VIEWERP_
  47.  
  48. #ifndef _VIBRANT_
  49. #include <vibrant.h>
  50. #endif
  51.  
  52. #ifndef _PICTURE_
  53. #include <picture.h>
  54. #endif
  55.  
  56. #ifndef _MAPPINGP_
  57. #include <mappingP.h>
  58. #endif
  59.  
  60. #ifndef _VIEWER_
  61. #include <viewer.h>
  62. #endif
  63.  
  64. #ifdef __cplusplus
  65. extern "C" {
  66. #endif
  67.  
  68. /*****************************************************************************
  69. *
  70. *   STRUCTURE TYPEDEFS
  71. *
  72. *****************************************************************************/
  73.  
  74. typedef struct Nlm_viewpdata {
  75.   Nlm_VieweR       viewer;
  76.   Nlm_SegmenT      picture;
  77.   Nlm_ScaleInfo    scale;
  78.   Nlm_VwrClckProc  click;
  79.   Nlm_VwrClckProc  drag;
  80.   Nlm_VwrClckProc  release;
  81.   Nlm_VwrPanProc   pan;
  82.   Nlm_VwrDrawProc  draw;
  83.   Nlm_VoidPtr      data;
  84.   Nlm_VwrFreeProc  cleanup;
  85. } Nlm_ViewPData;
  86.  
  87. #define ViewPData Nlm_ViewPData
  88.  
  89. #ifdef __cplusplus
  90. }
  91. #endif
  92.  
  93. #endif
  94.